from selenium import webdriver
import selenium

if __name__ == "__main__":
    driver = webdriver.Chrome()
    driver.get('https://www.baidu.com/')
    driver.find_element("id","kw").send_keys("lxwei")
    #driver.find_element_by_id("kw").send_keys("lxwei")
    driver.find_element("id","su").click()
    driver.close()
